package com.ibeeking.found.content.b.rest.service;

import com.ibeeking.found.content.service.common.param.ArticleAuthorParam;
import com.ibeeking.found.content.service.common.vo.ArticleAuthorVO;
import com.ibeeking.found.content.service.common.query.ArticleAuthorQuery;
import com.ibeeking.found.content.service.common.query.ArticleAuthorPageQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;


/**
 * IArticleAuthorService
 *
 * @Author ibeeking
 * @Date 2022-02-18 14:14
 */
public interface IArticleAuthorService {

    /***
     * 查询列表
     */
    List<ArticleAuthorVO> list(ArticleAuthorQuery articleAuthorQuery);

    /***
     * 分页查询
     */
    Page<ArticleAuthorVO> pageList(ArticleAuthorPageQuery articleAuthorPageQuery);

    /***
     * 新增
     */
    Boolean add(ArticleAuthorParam articleAuthorParam);

    /***
     * 修改
     */
    Boolean modify(ArticleAuthorParam articleAuthorParam);

    /***
     * 通过id查询
     */
    ArticleAuthorVO view(Long id);

    /***
     * 修改状态
     */
    Boolean changeStatus(Long id,Integer status);

    /***
     * 通过id删除
     */
    Boolean del(Long id);
}
